﻿using BCEntity.TMS.TransferStation;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BCData.TMS.TransferStation
{
    public interface ITransferStationData
    {
        Task<bool> DeleteAsync(long transferStationId);
        Task<TransferStationEntity> GetEntityAsync(long transferStationId);
        Task<(IEnumerable<TransferStationEntity>, int)> GetListAsync(int pageIndex, int pageSize);
        Task<TransferStationEntity> InsertAsync(TransferStationEntity entity);
        Task<TransferStationEntity> UpdateAsync(TransferStationEntity entity);
    }
}